﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="editor.aspx.cs" Inherits="admin_newsletter_editor" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <title>Kimland - Bản tin</title>
    <script type="text/javascript">
        $(function () {
            $(".headerR li:eq(2)").addClass("active");
        })
    </script>
    <style type="text/css">
        .boxMenuL:hover a,.boxMenuL.active a{color:#d80018;text-decoration:none;text-transform:uppercase;}
        .boxMenuL:hover,.boxMenuL.active{margin-bottom:5px;}
        .boxMenuL:hover .l,.boxMenuL.active .l{background:url(/images/sm_l.png) no-repeat;}
        .boxMenuL:hover .m,.boxMenuL.active .m{background:url(/images/sm_m.png) repeat-x;}
        .boxMenuL:hover .r,.boxMenuL.active .r{background:url(/images/sm_r.png) no-repeat;}
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="body">
    <div class="bodyL">
        <p class="gOval"><a href="/admin/newsletter/default.aspx" class="newsletter"></a></p>
        <div class="menuL">
            <div class="boxMenuL ">
                <span class="l"></span><span class="m"><a href="/admin/newsletter/default.aspx">DS nhận tin</a></span><span class="r"></span>                   
            </div>               
        </div>
        <div class="menuL">
            <div class="boxMenuL active">
                <span class="l"></span><span class="m"><a href="/admin/newsletter/template.aspx">Mẫu newsletter</a></span><span class="r"></span>                   
            </div>
        </div>
    </div>
           
   <div class="bodyR">
        <div class="topCatBR">
            <p class="l"></p>
            <div class="m">
                <p class="pos">
                    <asp:Literal ID="litPos" runat="server" Text=""></asp:Literal>
                </p>
            </div>
            
            <p class="r"></p>
        </div>
        <div class="boxBorder" style="height:500px;min-height:500px;height:auto">
            
             <div class="info_div" id="fail" runat="server" visible="false"><span class="ico_cancel">Có lỗi xảy ra!</span></div>
   
	       <table class="edit">
        
       
        <tr>
            <th>Tiêu đề:</th>
            <td><asp:TextBox ID="txtTitle" runat="server" Width="500px"></asp:TextBox></td>
        </tr>
        
        <tr>
            <th>Nội dung:</th>
            <td><FCKeditorV2:FCKeditor ID="radNewsContent" runat="server" Width="650px" Height="500px">
                    </FCKeditorV2:FCKeditor>
            </td>
        </tr>      
        <tr>
            <th>Chú thích:</th>
            <td><asp:TextBox ID="txtNote" runat="server" Width="650px" TextMode="MultiLine" Height="50px"></asp:TextBox></td>
        </tr> 
        <tr>
            <th></th>
            <td><asp:Button ID="btnEdit" runat="server" Text="Sửa" CssClass="buttonA" onclick="btnEdit_Click" />
                <asp:Button ID="btnAdd" runat="server" Text="Thêm mới" CssClass="buttonA" onclick="btnAdd_Click"/>
                <asp:Button ID="btnCancel" runat="server" Text="Hủy" CssClass="buttonA" onclick="btnCancel_Click"/>		
            </td>
        </tr>
    </table>	
	<asp:HiddenField ID="hidID" runat="server" />
    <asp:HiddenField ID="hidCatID" runat="server" />
    <asp:HiddenField ID="hidAvatar" runat="server" Value="/images/no_image.jpg"/>
        </div>
    </div>
</div>
</asp:Content>



